package com.lorenzogao.pley.ui.presenter.contract

import com.lorenzogao.pley.bean.BaseBean
import com.lorenzogao.pley.bean.Category
import com.lorenzogao.pley.ui.BaseView
import io.reactivex.Observable


/**
 * 作者：Lorenzo Gao
 * Date: 2018/1/5
 * Time: 10:56
 * 邮箱：2508719070@qq.com
 * Description:
 */
interface CategoryContract {

    interface ICategoryModel {

       fun getCategories(): Observable<BaseBean<List<Category>>>

    }

    interface CategoryView : BaseView {
        fun showData(t: List<Category>)


    }


}